package com.gkj.blog.persistence.mapper;

import com.gkj.blog.business.vo.condition.ResourceConditionVO;
import com.gkj.blog.framework.object.BaseMapper;
import com.gkj.blog.persistence.po.SysResources;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SysResourcesMapper extends BaseMapper<SysResources>{
    List<SysResources> findPageBreakByCondition(ResourceConditionVO vo);
    List<SysResources> findNodes(Long id);

    List<SysResources> queryResourcesListWithSelected(Long rid);

    List<SysResources> listUserResources(Long userId);

    List<SysResources> listAllParent();

    List<SysResources> listUrlAndPermission();
}